home *** CD-ROM | disk | FTP | other *** search
/ The Game Master (3rd Edition) / The Game Master 3rd edition.iso / files / demo_vga / manjul / man.exe / MANDEL.DOC < prev    next >
Encoding:
Text File  |  1992-01-27  |  10.1 KB  |  288 lines

  1.            Mandelbrot - Julia Set Generator
  2.  
  3.   Note: Most commands can be interrupted by a simple 
  4. mouse click.
  5.   ┌────────┐
  6.   │ Set    │
  7.   │ Values │
  8.   └────────┘
  9.   The Set Values command allows the user to set the 
  10. initial parameters that will be used by MANDEL to 
  11. begin generating a new image. These values are also 
  12. available for inspection when an image has been 
  13. displayed. The values and their range are: 
  14.  
  15.   X center value               -10 to 10
  16.   Y center value               -10 to 10
  17.   Magnification                >0
  18.   A value (if a Julia image)   -10 to 10
  19.   B value (if a Julia image)   -10 to 10
  20.   Maximum dwell                1 to 8191
  21.   Image width in pixels        10 to 4800
  22.   Image type [M J]             M or J
  23.   Full/Partial image [F P]     F or P
  24.   Default color mask file name xxxxxxxx.MSK
  25.   Display type [0 1]           For future use
  26.   256 color palette number     For future use
  27.   Image file name              xxxxxxxx.MAN
  28.                             or xxxxxxxx.MAR
  29.  
  30.   The A and B values are only displayed with Julia 
  31. images. If the recursive image generator is used the 
  32. image width must be a member of the 2^N set, ie. 16, 
  33. 32, 64, 128... etc. The program maintains the 
  34. Full/Partial image status and these values cannot be 
  35. changed by the user. 
  36.   
  37.   ┌────────┐
  38.   │ Color  │
  39.   │ Masks  │
  40.   └────────┘
  41.  
  42.   When the Color Masks command is chosen a pop up 
  43. window presents the four options: 
  44.  
  45.     ┌───────────────────────────┐
  46.     │ Create/Display color mask │
  47.     └───────────────────────────┘
  48.     ┌───────────────────────────┐
  49.     │     Select color mask     │
  50.     └───────────────────────────┘
  51.     ┌───────────────────────────┐
  52.     │      Select palette       │
  53.     └───────────────────────────┘
  54.     ┌───────────────────────────┐
  55.     │           QUIT            │
  56.     └───────────────────────────┘
  57.  
  58.   Clicking on the Create/Display color mask option 
  59. allows the user to create, edit and save color masks. 
  60.   Clicking on the Color mask file name box allows you 
  61. to type in a file name. The file name must have the 
  62. extension .MSK or you will not be able to select it 
  63. later. Ranges of dwell values should be typed into the 
  64. squares on the left. Just click on the square, type in 
  65. a dwell value and <Enter>. The colors are selected by 
  66. clicking on the desired color of the color wheel in 
  67. the upper right and then clicking on the odd and even 
  68. boxes at the right. The selected color is displayed 
  69. between the circular menu and the color wheel. If the 
  70. first line of the color mask reads: 
  71.  
  72.              0  9  [blue box] [white box]
  73.  
  74. then dwell values from 0 to 9 will be colored blue if 
  75. odd and white if even. If a solid color is desired the 
  76. color boxes should be filled with the same color. The 
  77. end of a color mask should be designated with a 
  78. negative value entered into the first dwell box.  The 
  79. default color mask on startup is M1.MSK and its values 
  80. are: 
  81.  
  82.             0   9  [  blue box] [ white box]
  83.            10  19  [   red box] [   red box]
  84.            20 510  [yellow box] [yellow box]
  85.           511 511  [ black box] [ black box]
  86.            -1
  87.  
  88.   In the case of M1.MSK, any dwell values larger than 
  89. 511 will be colored black (color 0 in the default 
  90. palette). 
  91.   The circular menu at the upper left has four 
  92. options. Clicking on the up or down arrow jumps to the 
  93. next or previous 16 color mask entries. A total of 256 
  94. entries can be placed in one color mask. The SAVE 
  95. option stores the color mask currently displayed under 
  96. the name specified in the Color mask file name box. 
  97. The new color mask will become the currently selected 
  98. color mask. 
  99.   Clicking on the Select color mask option presents 
  100. the user with a large window and the names of the 
  101. color masks that have been stored. Clicking on a color 
  102. mask name will select and load that color mask. It 
  103. then can be viewed by selecting the Create/Display 
  104. color mask option. 
  105.   Clicking on the Select palette option opens a window 
  106. that displays the current VGA color palette of 16 
  107. colors. Clicking on the Default box will load the 
  108. default VGA color palette. Clicking on the arrows will 
  109. select other prestored color palettes, up to number 
  110. 57. 
  111.  
  112.   The QUIT option returns the user to the main menu. 
  113.  
  114.   ┌────────┐
  115.   │ Make   │
  116.   │ Image  │
  117.   └────────┘
  118.  
  119.   Selecting the Make Image command generates a 
  120. Mandelbrot or Julia image based upon the parameters 
  121. entered in the Set Values command. A warning is issued 
  122. before the generation begins to allow the user to 
  123. change the file name, as any existing file of this 
  124. name will be erased. 
  125.   A very simple way to generate images is first to use 
  126. Load Image to display a previously generated image. 
  127. Double clicking on the image will produce a zoom 
  128. window overlaid on the display. Clicking and holding 
  129. down the left mouse button allows the zoom window to 
  130. be dragged about the image to an interested portion of 
  131. the image. The zoom window can be resized by dragging 
  132. the mouse pointer to the left and right outside the 
  133. zoom window. Once the zoom window has been positioned 
  134. and sized, clicking on the gray panel at right will 
  135. automatically store the new zoomed values into the Set 
  136. Values area. The user will probably wish to enter a 
  137. new image file name using the Set Values command (this 
  138. will prevent the original image file from being 
  139. erased), and then generate a new image of the area 
  140. defined by the zoom window with the Make Image 
  141. command. While the zoom window is present the 
  142. procedure can be cancelled by clicking on the right 
  143. gray panel around the command buttons. 
  144.  
  145.   ┌────────┐
  146.   │ Load   │
  147.   │ Image  │
  148.   └────────┘
  149.  
  150.   The Load Image command presents the user with a list 
  151. of image file names that have been produced with the 
  152. .MAN extension. Clicking on a file name will display 
  153. the image with the current color mask if the selected 
  154. image has no default color mask file name. A brief 
  155. double tone is sounded if there is no default color 
  156. mask file name. If a color mask name was included when 
  157. the image was generated, this color mask will be 
  158. loaded before the image is displayed. Partially 
  159. generated images will automatically continue 
  160. generation when displayed with this command. Once an 
  161. image is displayed, double clicking on the image will 
  162. produce a zoom window as described under the Make 
  163. Image command. 
  164.  
  165.   ┌────────┐
  166.   │ Make R │
  167.   │ Image  │
  168.   └────────┘
  169.  
  170.   The Make R Image command functions similarly to the 
  171. Make Image command except a recursive procedure is 
  172. used in place of the normal line by line generation. 
  173. The image file should be given the .MAR extension so 
  174. that it will be properly handled when using the Load R 
  175. Image command. In some cases this recursive procedure 
  176. will generate images faster that the normal method. 
  177. Partially generated images cannot be displayed with 
  178. generation automatically continuing as is the case 
  179. with the normal Load Image command. Image files are 
  180. generally larger with the recursive procedure. 
  181.  
  182.   ┌────────┐
  183.   │ Load R │
  184.   │ Image  │
  185.   └────────┘
  186.  
  187.   The Load R Image command displays a recursive image 
  188. previously generated with a .MAR extension in the file 
  189. name. A list of such files is presented and the 
  190. selected image is clicked on. Partially generated 
  191. images will not be automatically continued as with the 
  192. Load Image command. 
  193.                               
  194.   ┌────────┐
  195.   │ 3-D    │
  196.   │ Image  │
  197.   └────────┘
  198.  
  199.   The 3-D Image command displays an image generated 
  200. with the Make Image command in a pseudo 3-D style. The 
  201. display algorithm is a simple one, but very slow. 
  202. VGA displays have limitations when displaying 3-D 
  203. Mandelbrot images. Best results occur with color masks 
  204. that contain multiple colors and have the dwell ranges 
  205. broken into many small steps. Large values for the 
  206. maximum dwell may result in the top of the image being 
  207. lost. Partially generated images will not be 
  208. automatically continued as with the Load Image 
  209. command. 
  210.  
  211.   ┌────────┐
  212.   │ Plot   │
  213.   │ Dwell  │
  214.   └────────┘
  215.  
  216.   The Plot Dwell command reads all the dwell values of 
  217. an image stored with the .MAN extension and sums them. 
  218. The sums are then plotted with the current color mask 
  219. used for each dwell value plotted. Only dwell values 
  220. of 2,400 or less will be plotted. These plots give an 
  221. indication of how many points in the image have the 
  222. various dwell values and can be useful in constructing 
  223. a color mask that will display the image to best 
  224. advantage. 
  225.  
  226.   ┌────────┐
  227.   │ Make   │
  228.   │ PCX    │
  229.   └────────┘
  230.  
  231.   The Make PCX command allows the user to select an 
  232. image file stored with the .MAN extension and create a 
  233. PCX image file using the current color mask. The PCX 
  234. image file format allows users to import Mandelbrot 
  235. and Julia image files into other software such as 
  236. desktop publishing programs and paint programs. 
  237.  
  238.   ┌────────┐
  239.   │ Print  │
  240.   │ Image  │
  241.   └────────┘
  242.  
  243.   The Print Image command presents the user with three 
  244. different printer types that are supported, or the 
  245. command can be quit. 
  246.  
  247.     ┌───────────────────────────┐
  248.     │          Epson            │
  249.     └───────────────────────────┘
  250.     ┌───────────────────────────┐
  251.     │           IBM             │
  252.     └───────────────────────────┘
  253.     ┌───────────────────────────┐
  254.     │         Laserjet          │
  255.     └───────────────────────────┘
  256.  
  257.  
  258.     ┌───────────────────────────┐
  259.     │           QUIT            │
  260.     └───────────────────────────┘
  261.  
  262.   The Epson and IBM printers must support a 24 pin 
  263. mode. Any printer that supports the Laserjet mode 
  264. should also be compatible. QUIT returns the user to 
  265. the main menu. 
  266.  
  267.   ┌────────┐
  268.   │ Help   │
  269.   │ File   │
  270.   └────────┘
  271.  
  272.   The Help File command displays the file you are 
  273. currrently reading. Clicking on the arrows to the 
  274. right displays the next or previous page. 
  275.  
  276.   ┌────────┐
  277.   │ Quit   │
  278.   │ MANDEL │
  279.   └────────┘
  280.  
  281.   The Quit MANDEL command returns the user to the DOS 
  282. prompt. 
  283.  
  284.                     Theron Wierenga
  285.                       P.O. Box 595
  286.                    Muskegon, MI 49443
  287.  
  288.